
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        html,body{
            height: 100%;
        }
        .bigBox{
            height: 100%;
            width: 100%;
            /* background: rgb(128, 220, 116);
             */
            background: url('images/q.jpg')  no-repeat;
            background-size: 100% 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .centerBox{
            height: 240px;
            width: 400px;
            border-radius: 10px;
            background: rgb(50, 57, 82,0.8);
            box-shadow: 15px 15px 50px #000;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .ipt{
            /* border: 1px red solid; */
            width: 100%;
            display: flex;
            justify-content: left;
            align-items: center;
        }
        .btn{
            justify-content: right;
        }
        .ipt span{
            width: 80px;
            color: aliceblue;
            text-align: right;
            /* border: 1px solid red; */
        }
        
        .btn span{
            width: 100px;
        }
        .centerBox input{
            display: block;
            height: 30px;
            width: 200px;
            margin: 10px 20px;
            outline: none;
            border-radius: 5px;
            border: none;
            background: rgba(255, 255, 255, 0.8);
        }
        #code{
            width: 120px;
        }
        .centerBox button{
            margin-top: 20px;
            margin-right: 20px;
            height: 30px;
            width: 80px;
            background: rgb(80, 26, 47,0.8) ;
            box-shadow: 5px 5px 20px #000;
            border: none;
            border-radius: 5px;
            color: aliceblue;
        }
    </style>
    <link rel="stylesheet" href="css/all.css">

</head>
<body>
    <div class="bigBox">
        <div class="centerBox">
            <!-- <form action="" method="get"> -->
            <div>
                <div class="ipt">
                    <span>用户名：</span>
                    <input  id="name" type="text" placeholder="请输入用户名" name="name">
                </div>
                <div class="ipt">
                    <span>密码：</span>
                    <input id="password" type="password" placeholder="请输入密码" name="password">
                </div>
                <div class="ipt" id="code_div" style="display: none;">
                    <span>验证码：</span>
                    <input type="text" id="code" placeholder="请输入验证码">
                </div>
                <div class="ipt btn">
                    <button  id="btnSub" type="" value="sub">登录</button>
                    <button  id="btnRes" type="" value="res" style="display: none;">注册</button>
                    <span id="swi_dl_zc" style="font-size: 12px;padding-left:75px;">没有账号去注册</span>
    
                </div>
            </div>
            <!-- </form> -->
        </div>
    </div>
    <script src="js/jquery-3.1.1.js"></script>
    <script src="js/sign.js"></script>
</body>
</html>